/******************************************************************************
* File description: settingmodelconfigchangepwdui.h
* Function: 设置-模型配置：修改密码
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-31
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#ifndef SETTINGMODELCONFIGCHANGEPWDUI_H
#define SETTINGMODELCONFIGCHANGEPWDUI_H

#include <QObject>
#include <QQuickWidget>
#include <QQmlContext>


class SettingModelConfigChangePwdUI : public QQuickWidget
{
    Q_OBJECT

public:
    SettingModelConfigChangePwdUI();
    ~SettingModelConfigChangePwdUI();

signals:
         // 发给qml

private slots:
    // qml槽函数
    void onCancel(); // 取消

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
         // 数据转换

private:
    QObject *_rootObj;
    QQmlContext *_rootContext;
};

#endif // SETTINGMODELCONFIGCHANGEPWDUI_H
